import java.util.Scanner;

public class scannerTest {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("please insert your name");
        String name = scan.next();
        System.out.println("please insert your age");
        int age = scan.nextInt();
        System.out.println("name: " + name + ",age: " + age);
        if (name.equals("jack")) {
            System.out.println("he is a boy");
        } else {
            System.out.println("she is a girl");
        }
        scan.close();
    }
}
